﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Pub;
using JCNT.DAL;

namespace JCNT.NoteApp
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        /// 

        public static CSQLServer ado1;
        public static FMain fmain;
        public static FTree ftree;
        public static FPic fpic;
        public static FNode_Add fnodeAdd;
        public static FLab_Add flabAdd;
        public static FDebug fdebug;
        public static FImport fimport;
        

        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            ado1 = new CSQLServer();
            fmain = new FMain();
            ftree = new FTree();
            fpic = new FPic();
            fnodeAdd = new FNode_Add();
            flabAdd = new FLab_Add();
            fdebug = new FDebug();
            fimport = new FImport();

            CPub.SetParentI(ftree, fmain.tabPageTree);
            CPub.SetParentI(fnodeAdd, fmain.panel2);

            Application.Run(fmain);
        }
    }
}
